package com.liujun.spring4.demo.aop.application.property.editor;

/**
 * 类属性的car信息
 *
 * @version 0.0.1
 * @author liujun
 */
public class Car {

  /** 最大速度 */
  private int maxSpeed;

  /** 品牌 */
  private String brand;

  /** 价格 */
  private double price;

  public int getMaxSpeed() {
    return maxSpeed;
  }

  public void setMaxSpeed(int maxSpeed) {
    this.maxSpeed = maxSpeed;
  }

  public String getBrand() {
    return brand;
  }

  public void setBrand(String brand) {
    this.brand = brand;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Car{");
    sb.append("maxSpeed=").append(maxSpeed);
    sb.append(", brand='").append(brand).append('\'');
    sb.append(", price=").append(price);
    sb.append('}');
    return sb.toString();
  }
}
